package com.ivt.service;

import java.util.List;
import java.util.Set;

import com.ivt.core.ex.IvtException;
import com.ivt.model.Notice;
import com.ivt.model.view.QueryCriteria;

public interface NoticeService {

	public Notice create(Notice notice) throws IvtException;

	public Notice update(Notice notice) throws IvtException;

	public long queryCount(QueryCriteria queryCriteria) throws IvtException;

	public List<Notice> queryClassesByCriteria(QueryCriteria queryCriteria)
			throws IvtException;

	public Notice delete(Long noticeId) throws IvtException;
	
	public int deletes(Long[] noticeIds) throws IvtException;

	public Notice getNotice(Long noticeId) throws IvtException;

	public List<Notice> getNotice(Set<Long> noticeId) throws IvtException;
}
